/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.tor.tribes.reportserver.ui;

import com.vaadin.ui.CustomComponent;
import com.vaadin.ui.GridLayout;
import de.tor.tribes.reportserver.util.UIUtil;

/**
 *
 * @author Torridity
 */
public class OverviewScreen extends CustomComponent {

    private GridLayout mainLayout = null;

    public OverviewScreen() {
        buildLayout();
        setCompositionRoot(mainLayout);
    }

    private void buildLayout() {
        setWidth("100%");
        setHeight("100%");
        mainLayout = new UIUtil.GridLayoutBuilder(2, 2).getLayout();
        mainLayout.setSpacing(true);
        mainLayout.setMargin(true);
        mainLayout.setSizeFull();
    }
}
